import { Global, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Device } from 'src/entities/Device';
import { DeviceModelService } from './device-model.service';

@Global()
@Module({
  imports : [TypeOrmModule.forFeature([Device])],
  providers: [DeviceModelService],
  exports : [DeviceModelService]
})
export class DeviceModelModule {}
